package com.usian.search.client;

import com.usian.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ClassName: ApBehaviorEntryClient
 * Author:   WGG
 * Date:    2022-12-2022/12/10-11:37
 * Version: 1.0
 * Description:
 */
@FeignClient("leadnews-behavior")
public interface ApBehaviorEntryClient {

    @PostMapping("/behavior/api/v1/behavior/show_behavior")
    public ApBehaviorEntry showBehavior(@RequestParam("entryId") Integer entryId, @RequestParam("equipmentId") Integer equipmentId);
}
